﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace Directory.Web
{
	internal class Helper
	{
		public static bool ValidateStringParameter(ref string parameter)
		{
			if (parameter == null)
			{
				return false;
			}
			parameter = parameter.Trim();
			if (parameter.Length == 0)
			{
				return false;
			}
			return true;
		}
	}
}
